changes file structure