scan_file function

Submit a file for scanning