added dir_size logging