single file upload class complete