modify upload file validation type