ignore files in scanFile instead of scan to catch all occurences.