[WIP] Issue 56: Make filer work in nodejs

This is an addition to Humph's patch