Finished time tracking

Finished logic to keep track of time for each file.