Changing the way files are generated