added process hook to options

a new `process` option allows to process each file before it gets concatenated.
unit tests and readme is also adjusted.