code: public function getFiles()
      {
          $result = array();
          foreach ($this->data['files'] as $file) {
              if ($file) {
                  $result[] = new File($file->uuid, $this->api, $file);
              }
          }
          return $result;
      }
docs: Get all Files
  
  @return array
  @throws \Exception