private function parseFiles($files)
    {
        $parsed = [];
        if (!empty($files)) {
            foreach ($files as $field => $file) {
                $parsed[$field] = $this->parseFile($file);
            }
        }

        return $parsed;
    }