Fixed Directory.java problem for Matt