I want to add a service in WSO2, this service is mainly used to scan file on remote ftp servers and tells client the file name. 

The process is as follows: Services scheduled scanning ftp direction, if found matching files, then send file name to client(sendReportFile(fileName)). 

How to do this in wso2?

I think I need use vfs for scan file, but how to send file name to client？