add saving to DB, fixed wrong parameters in UploadFileServlet.makeFile()