Files and directories

We need an API for working with files and directories in the filesystem.  Something along the lines of Java's `File` class and Python's `os` and `os.path` modules.