minor updates to file uploads