Abstract references to FileDirectory. See issue #159.