Edit file struct