FileUploader.cpp revised