based on an earlier version of the Wolfram Language.
In addition to a rich set of standard file operations, Mathematica's unified symbolic architecture makes it easy to apply algorithmic approaches and efficient higher-level programming to many file and system administration tasks.
FileNames — list names of files or directories at any depth in the file system
FindList — search for strings in lists of files
Splice — splice Mathematica results into a file
FilePrint — display the raw contents of a file
DirectoryQ — test whether a name corresponds to an existing directory
FileNameSetter — interactively browse for a file