put to file