added directory readout