clear file struct