File uploading now sort of working