make file uploads work