Abstraction Supreme

A file system has files and directories. Directories can contain files and other directories. You want client code to treat individual files and directories uniformly (e.g., both support getSize()). Which pattern models this?