Clean and transform can both clean / process the file, then return a reference to the new file.  The base implementation of transform does nothing.