Added overload to ScanFile