Added proper file upload to FileDoc CRUD