[Refactor]Refacte the UploadFileDataSource object, comment not needed function and add the class to EA

Signed-off-by: Ethan Shan <shan0xiao0xi@gmail.com>