/**
  * Get file size (if known) as string
  *
  * @return string|false String value, or false if doesn't exist
  */
 public function getSize()
 {
     if ($this->file) {
         return $this->file->getSize();
     }
     return false;
 }
 /**
  * get HTML for status icon
  *
  * @param File $record
  * @return null|string
  */
 protected function getSpecsMarkup($record)
 {
     if (!$record || !$record->exists()) {
         return null;
     }
     return sprintf('<div class="editor__specs">%s %s</div>', $record->getSize(), $this->getStatusFlagMarkup($record));
 }