just one action to submit xml and json files