changing file struct