added gathering informationa about files/directories