Fix filenames for structure files