Revert "Error handling for irregal input(e.g. blank text files)."

This reverts commit 7b68275f6c8dcbe2631a4eb485ef375492d14b86.