$file->id, 'file' => $file->file, 'type' => (int)$file->file_type, ]; } }