find with -type f, size filter, and -exec for batch action.
Category: File I/O
Iterate over matched files with a glob — safe with nullglob set.
Use `read -r` in a while loop with IFS preserved.
Use os.walk to enumerate every file under a path.
Open a file for writing and emit a few lines.
Iterate a text file lazily with a context manager.
Node.js stdlib async file read with fs/promises.
Walk a tree with RecursiveDirectoryIterator + RecursiveIteratorIterator.
Use file_put_contents with LOCK_EX for an atomic write.
Use SplFileObject to iterate a file lazily without loading it all into RAM.