Modified utils function: get_file to accept correct parameters