move file saving to POST to bypass url length limit