The file is opened, the data is streamed to it, the file is closed. If you want to know to do it, there are plenty of tutorials online.


Seriously? They are used to store stuff on disk. They work...