ignoring non-files for progress bar max