Let basename() take suffix list to remove