Put to file