added support for uploading files. fixed problem with author field mappi...

...ng