my($fileAgeInDays) = ((time() - (stat($eachFile))[9]) / 24 / 60 / 60);