Added logging of each uploaded file and a localPath option

I needed a `localPath` option, so there it is. And I think logging of each file is also nice, I set it to `true` by default as I feel it should be the default behavior, but it can be disabled through `logFiles`. Maybe it should be renamed to `silent`, or something like that.