pass the file as a third argument to the callback

Allow for modifying the file directly, such as to concatenate directories, etc, via a third argument passing the file itself as the sole property of an object. See issue #2 for reasoning.