single letter variable names are discourages, use `dirname`?