Added a function to delete the log file.