removes previous logfiles
added docs