(fix) Fixes #15, remove special case handling.
Merge pull request #16 from iron/fix/mask-doc-as-file

(fix) Remove special case handling.