Keeping now selects the shallowest path with the shortest file name