fix file age calculations