added files() and directories() methods to WebDirectory