modification in order to allow author to upload files