add UploadedFile class
file path bug fix