Fixed directory. (Hopefully)
Fixed directory showing up as a file.
Fixed directory showing up as a file.