If the file has no contents, returning the empty string

Prevents the thing from failing with an exception.
Merge pull request #83 from caiusb/new-empty-file

If the file has no contents, returning the empty string