Made it so log file closes. :D