fun <T> processFiles(processor: () -> T): List<T>
Runs processor for each file and collects its results into single list
processor