write a reame file