added formatlist support to DirMemory