Added option parsing.\n  Added timeout for scan_files, default 15 minutes.