With cyclops-streams (a library we have created) you can write
SequenceM.of("/somepathtofile1","/somepathtofile2")
.flatMapFile(File::new)
.forEach(System.out::println);
Javadoc SequenceM extends java.util.stream.Stream (and also org.jooq.lambda.Seq) to add a lot of additional convenience methods.