Before Upload to server with database file