file structure optimization