added LogFile and delete Option