pub fn check_file(file: &Path, needles: &[PathBuf]) -> Result<(), String>
search on the file at file, as the error the package is refused with.
search
file