Working on directory parser