seri for file

serialize for file