A small node API for file creation.