fix options.filename for id variable
Merge pull request #14 from benrlodge/fix-filename-option

fix options.filename for id variable