Remove emptyline and logfile