Refactoring directory block reading
Reading attributes