Added configurable option to limit the number of records returned by getCollection and getFiles.