diff --git a/lib/Util.php b/lib/Util.php
index <HASH>..<HASH> 100644
--- a/lib/Util.php
+++ b/lib/Util.php
@@ -68,6 +68,7 @@ abstract class Util
         'invoice' => 'Stripe\\Invoice',
         'invoiceitem' => 'Stripe\\InvoiceItem',
         'event' => 'Stripe\\Event',
+        'file' => 'Stripe\\FileUpload',
         'transfer' => 'Stripe\\Transfer',
         'plan' => 'Stripe\\Plan',
         'recipient' => 'Stripe\\Recipient',
diff --git a/tests/FileUploadTest.php b/tests/FileUploadTest.php
index <HASH>..<HASH> 100644
--- a/tests/FileUploadTest.php
+++ b/tests/FileUploadTest.php
@@ -16,7 +16,7 @@ class FileUploadTest extends TestCase
         );
         fclose($fp);
         $this->assertSame(95, $file->size);
-        $this->assertSame('image/png', $file->mimetype);
+        $this->assertSame('png', $file->type);
     }
 
     public function testCreateCurlFile()
@@ -35,6 +35,6 @@ class FileUploadTest extends TestCase
             )
         );
         $this->assertSame(95, $file->size);
-        $this->assertSame('image/png', $file->mimetype);
+        $this->assertSame('png', $file->type);
     }
 }
Update for file upload mimetype change