check_file()