public function makeDir($dir_path)
    {
        $fm = new Filesystem();
        if (!file_exists($dir_path)) {
            $fm->mkdir($dir_path, 0755);
        } else {
            $this->getFileManager()
                ->throwError("Cannot create directory '" . $dir_path . "': Directory already exists", 500);
        }
    }