Fixed FileDirHandler

First fix ... yay.