Updated filedir.cpp/h and the readme