write HS to file (static)