cleanup library dir