override function findOldestFile and findNewestFile