I'd like to write a file monitoring tool that (1) Generates a report on how much time was spent on which file (2) Generates a timeline of file age. The need for this application is to track time for all programming projects. If the app would automatically track the time I opened a file to the time I closed it, then I would know how long I spent working on a specific file. I also would like to see a timeline of files ordered by their creation date or edit date. This way I can see the landscape of my file structure on my computer in a better way.
Any suggestions if this kind of software exists and how to write it?