decoupling sleep data parser from into csv source