modified file upload and all tests file