add support for processing copy/directory file contents.
process content before engine for even more flexibility.
Merge pull request #280 from ctalkington/copyProcess

add support for processing copy/directory file contents via function.