refactor FileUploadTest.php
refactor FileUpload.php