Merged functionality for get_input_file to get_input_file_path