We should really think about how to look up the relevant files for a given XP. The current setup is missing an underscore after sample name to make sure that the entire sample name is found, so that samples such as ttb do not use files for samples with similar names like ttbar