Feature/basename

minor enhance to add tree and blob basename to filter the extension name.