Additional methods for working with directories (is directory, get directory contents)