Thanks roboticus .. I dont have any modules CPAN MODULES install for the date though.
I would have multiple files like this and want to reverse sort them according to the extracted date and from subtract them to identify <=7 date files and process them