working with ext dir