protected function getFullPath($path, $verify = false) {
        $full_path = $this->cleanPath($this->path_to_files . '/' . $path);

        if ($verify === true) {
            if (!file_exists($full_path) || !$this->is_valid_path($full_path)) {
                $langKey = is_dir($full_path) ? 'DIRECTORY_NOT_EXIST' : 'FILE_DOES_NOT_EXIST';
                $this->error($langKey, [$path]);
            }
        }
        return $full_path;
    }