Added exception specifications for determination of misconfigured index. Now also reading from lowercase filenames