Fix name loading and sample names file.