directory stream fixed

virtual directory reimplemented. performance issue :/