FindFile
FindFile[name] finds the file with the specified name that would be loaded by Get[name] and related functions.
Examples
(* Find a package file *)
FindFile["ExampleData/sample.txt"]
(* Find a context file *)
FindFile["Combinatorica`"]
(* Returns $Failed if not found *)
FindFile["NonExistentFile"]Please visit the official Wolfram Language Reference for more details.