Slight edit to control file size of uploads