IN: mongo - active connection to the MongoDB instance. gridfsBucketName - full path to the GridFS parent of collections .files and .chunks. name - file name RETURN: The entire file contents in an array.
File not found, or if more than 1 file match name, or on corrupt properties.
See Implementation
IN: mongo - active connection to the MongoDB instance. gridfsBucketName - full path to the GridFS parent of collections .files and .chunks. name - file name RETURN: The entire file contents in an array.