add more cases for upload file handling