Directory structure and reference.txt files