My current solution is:
List<String> paths = new ArrayList<String>();
File dir = new File(BASE_DIR);
for (File f : dir.listFiles()) {
paths.add(f.getName());
}
DataSet<String> mail = env.fromCollection(paths).map(new FileToString(BASE_DIR)).
The FileToString does basically a map that return FileUtils.toString(new File(baseDir, filePath));
I hope this could help someone else..