added write support (with tests) for step files