Removes unneeded directory