Reading blocks form dir