ADD: [logging] and temp files [todos]