Implemented support for passing a vinyl file object to the transform method.