adds file-based batch generator

similar to the ReadableDirGraphGenerator, this batch generator takes as
input a directory and reads the files as batches for each generate