# Reading and writing files

Data can be read from files and written to files. The files can be stored on a memory card in the controller or on the flash memory of the controller.

## ATTENTION

Writing to the flash memory of the controller degrades the memory. Do not write to the flash memory too often.

- Writing to a file using a file node
- Reading from a file using a file in node
- Monitoring a file or directory for changes using a watch node
- Outputting file changes using a tail node