Collection<VirtualFile> (@NotNull Collection<? extends VirtualFile> files) { Collection<VirtualFile> filesWithCrlf = new ArrayList<>(); for (VirtualFile file : files) { ProgressIndicatorProvider.checkCanceled(); String separator = LoadTextUtil.detectLineSeparator(file, true); if (CRLF.equals(separator)) { filesWithCrlf.add(file); } } return filesWithCrlf; }