better name: `dirToPrettyLocation`