use ugly XMLHttpRequest for file uploads
remove console logging
upload the file content to the database
add the best test of uploading that i can for now