changing file strucute