Why is there no getRootDirectory() here?