Loop a process for each CSV file that is in a share


My current predicament is that I have a process that for each CSV file existing in a share, validates the file and if it's ok, then should call a synchronization project. After the import is done, the file should be moved into a processed folder and then start all over again with the next file from the share.

Is it possible to loop a process like that? If not, then how can this functionality be achieved?

Thanks in advance!