Make the upload system work for regular files.