If you want EVERY file that is in the referenced directory and you want EVERY file retrieved deleted after it is processed, that is the activity the Fileset and Fileset/FTP protocols default to without any procs at dirparse and delete.
If that is not what you want, for example you only want some of the files in the directory at directory parse or you don’t want some of the files that are retrieved during directory parse then processed deleted, or if you want to rename or move or archive the files before processing (after directory parse) or prior to deleteion you will need to have Tcl procs at either the Directory Parse and/or File Delete UPoCs.
So with no procs assuming dira has files a, b, and c at the time the directory parse is executed in the Fileset Protocol, each of those files will be read, and each record in each file will become a message to Cloverleaf(R). As a file is finished process (file a first) that file is then deleted (the records of that file have passed through Cloverleaf(R) to wherever you have directed them).
File a is processed, then deleted, file b is processed then deleted, file c is processed and delted; directory parse happens at the next interval and if there are more files they are processed in the same manner.