Add commented code for better dircache generation (a bit slow)