remove printf
save files to temporary filename and rotate
process commands as batch
add a file rename method
add a create temp file method
timeparser did not honor local time