function filteredFiles = find_split(fileList, searchStrings)
    % Check if the searchStrings are provided, otherwise use a default value
    if nargin < 2
        searchStrings = {'.txt'}; % Example: find files with '.txt' extension
    end

    % Initialize an empty cell array to store the filtered files
    filteredFiles = {};

    % Filter the files based on the searchStrings
    for i = 1:length(fileList)
        if any(ismember(fileList{i}, searchStrings))
            filteredFiles = [filteredFiles; fileList{i}];
        end
    end

    % Display the list of filtered files
    disp('Filtered files:');
    disp(filteredFiles);
end
