public function removeFromFileSysem($module)
    {
        if ($this->isCoreModule($module)) {
            throw new LogicException(sprintf(
                'Trying to remove core module "%s". This is not allowed by design', $module
            ));
        }

        $path = sprintf('%s/%s', $this->appConfig->getModulesDir(), $module);
        return $this->performRemoval($path);
    }