Added documentation in markDirectory encoding