Uploading XML files and storing