Remove logfile logic. Resolves #29