Sorting out file structure.