diff --git a/reference/mongo/mongogridfs/storefile.xml b/reference/mongo/mongogridfs/storefile.xml
index 0f0f1300cf..0085c17c15 100644
--- a/reference/mongo/mongogridfs/storefile.xml
+++ b/reference/mongo/mongogridfs/storefile.xml
@@ -11,7 +11,7 @@
&reftitle.description;
public mixedMongoGridFS::storeFile
- stringfilename
+ string|resourcefilename
arraymetadataarray()
arrayoptionsarray()
@@ -27,7 +27,7 @@
- Name of the file to store.
+ Name of the file or a readable stream to store.