fixed namespaceing for upload_file