removing dir paths relative to current working directory