RAM's answers

Will improve if I have time.
didn't think of having the age as the key, but what happens it there are 2 files that have the exact same age? (unlikely but more possible than 2 files with the same name)