diff --git a/src/acdhOeaw/schema/file/File.php b/src/acdhOeaw/schema/file/File.php
index <HASH>..<HASH> 100644
--- a/src/acdhOeaw/schema/file/File.php
+++ b/src/acdhOeaw/schema/file/File.php
@@ -187,7 +187,10 @@ class File extends SchemaObject {
         $meta->addLiteral(RC::titleProp(), basename($this->path));
         $meta->addLiteral('http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#filename', basename($this->path));
         if (is_file($this->path)) {
-            $meta->addLiteral('http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#hasMimeType', mime_content_type($this->path));
+            $mime = @mime_content_type($this->path);
+            if ($mime) {
+                $meta->addLiteral('http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#hasMimeType', $mime);
+            }
             $meta->addLiteral(RC::get('fedoraSizeProp'), filesize($this->path));
         }
File class hardened against mime_content_type() returning a warning