adjusting file struct