Separate writing files from creating transformations