Bug 1094847 - Add check for null filename
Merge pull request #11 from daleharvey/1094847

Bug 1094847 - Add check for null filename