Changed method name from getDirectory() to getPolledDirectory()