locate_one_file function

Pin down a file on disk from four parameters.