started working on file upload to database