The condition found in the file nonxafs_2d.xdi) should be dealt in a more precise way. Basically, once the array labels line is parsed, any additional line starting with "#" should be stored for error reporting and the error message should be more specific and unrelated to the arrays label line semantics.