(maint) Update directories method to inline a select block
(CPR-56) Move comment block to more appropriate method