remove unused extract_directory extraxt_basename