diff --git a/lib/file-store.js b/lib/file-store.js
index <HASH>..<HASH> 100644
--- a/lib/file-store.js
+++ b/lib/file-store.js
@@ -171,6 +171,32 @@ FileCookieStore.prototype.isEmpty = function (){
     return isEmptyObject(this.idx);
 }
 
+FileCookieStore.prototype.getAllCookies = function(cb) {
+  var cookies = [];
+  var idx = this.idx;
+ 
+  var domains = Object.keys(idx);
+  domains.forEach(function(domain) {
+    var paths = Object.keys(idx[domain]);
+    paths.forEach(function(path) {
+      var keys = Object.keys(idx[domain][path]);
+      keys.forEach(function(key) {
+        if (key !== null) {
+          cookies.push(idx[domain][path][key]);
+        }
+      });
+    });
+  });
+ 
+  // Sort by creationIndex so deserializing retains the creation order.
+  // When implementing your own store, this SHOULD retain the order too
+  cookies.sort(function(a,b) {
+    return (a.creationIndex||0) - (b.creationIndex||0);
+  });
+ 
+  cb(null, cookies);
+};
+
 function saveToFile(filePath, data, cb) {
     var dataJson = JSON.stringify(data);
     fs.writeFileSync(filePath, dataJson);
@@ -211,4 +237,4 @@ function isEmptyObject(obj) {
         }
     }
     return true;
-}
\ No newline at end of file
+}
Added getAllCookies() method