Use find_path_for_file when possible