Create get_directory_of_file_run