bmc: implement search for json files

Tested: Verified it prints out the blobs expected.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I1ba6af8b2ca066e6eb1699cb4214ce32f148005d
diff --git a/bmc/fs.hpp b/bmc/fs.hpp
new file mode 100644
index 0000000..d54af2a
--- /dev/null
+++ b/bmc/fs.hpp
@@ -0,0 +1,17 @@
+#pragma once
+
+#include <string>
+#include <vector>
+
+namespace ipmi_flash
+{
+
+/**
+ * Given a directory, return the list of json file paths (full paths).
+ *
+ * @param[in] directory - the full path to the directory to search.
+ * @return list of full paths to json files found in that directory.
+ */
+std::vector<std::string> GetJsonList(const std::string& directory);
+
+} // namespace ipmi_flash