scan_file