reformatting file structure