removing sub directories