adjust file struct