Make the file property optional
Merge pull request #95 from lydell/optional-file

Make the file property optional