correctly filters only files that are not constantly written to