More work on file uploading.