Changes to support empty file.
Test suite