I edit to clarify the question.
i need to get a file name from a directory where there are so many files. The file name i need contains the current date (yyyymmdd) as a part of name from the file.
i tried with the assign task for the directory but i dont know what method to use with for each task to obtain the correct file name.
perhaps i am focusing a wrong way?
please could you help me with this?
thank you very much.