Hi @sowmya,
Refer this xaml file to delete .txt file from particular folder and created date one week before Main.xaml (8.6 KB)
It will not check the format of the text file, it ll look only created date.
Regards, Arivu