pub fn collect_files( path: &str, recursive: bool, no_ext_filter: bool, ) -> Result<(Vec<String>, bool)>
Collects files from the specified path, either as a directory or a single file.