Allow for specifying the transform function as a file.

This lets you build up very complex transformations.
Merge pull request #17 from tadpol/master

Allow for specifying the transform function as a file.