add check to prevent SolomonReader to throw IndexOutOfBoundsException when reading file ending with empty lines