Saves the file on the server