Initial work on file uploading.