files now saved in database and stored objects are same as ones recieved