fixes #14 by only creating files appropriately
Merge pull request #16 from neocotic/null-file

No more null file