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
FilePrint — display the raw contents of a file