make  file uploading work. Also include a new test file