updating file struct.