How to run subjobs according to the input file we get from FTP server

We have 3 files like ABC_1,ABC_2,ABC_3 in FTP server and we have 3 subjobs 

-----if the file ABC_1 presents in server then sub_job 1 have to run,

-------if the file ABC_2 presents in server then sub_job 2 have to run and

-------if the file ABC_3 presents in server then sub_job 3 have to run