public static function addAdapter(string $name, AdapterInterface $adapter) {
		$adapter = new Filesystem($adapter);
		if (static::$manager == NULL && empty(self::$filesystems)) {
			self::init();
		}
		self::$filesystems[$name] = $adapter;
		static::$manager->mountFilesystem($name, $adapter);
	}