Fixed filtering of files in windows