added file logging too
data logger uses files now