Fixed reading local dirs