CHANGE: corrections how to get a name of dir