Sm filehandler

Moves away from step.js and simplifies filehandler a bit.