Test file generator