Finished the get_file() function.