Use a smarter method for naming files.
Add a bunch of comments.