Removed special characters from $logfile