Adjustments to file upload