change the file struct