add default options.
requires fs & add function stub.