Check that file is not empty before populating

When there are no records in data file for a model (just in case you don't need any), it will throw an error
Merge pull request #24 from glebe/patch-1

Check that data file is not empty before populating