Modifying file structure for controls