SmartFileScan not as naive and not as buggy