added first version of file generator