sprintf'ng, remove tmp file on teardown
Quick debug line in rotate_file
Typo
Adding a little more documentation