It's probably not a good idea to use time(). On large projects there is a tiny chance that 2 could be the same
Add example of how to access data about the file.