Check for empty or blank files

Fixes #11