fleshing out api for parsing gopher dirs