Error, which caused exception, fixed, but file still is not read correctly.