Being able to change the FileGenerator