Note that if you want all the files created up to a year ago, intck('year',date,today()) should be changed to intck('year',date,today(),"CONTINUOUS") or the files returned will only be those created during the current year.