give basename