Implemented directory_parts method throughout GW Utilities