Rename s3_operations.h/cc

Change-Id: I96951eb3e52f7dd625b3e07954e359e79dd7c9b3
Signed-off-by: James Kuszmaul <james.kuszmaul@bluerivertech.com>
diff --git a/aos/events/logging/s3_file_operations.cc b/aos/events/logging/s3_file_operations.cc
new file mode 100644
index 0000000..8764d4a
--- /dev/null
+++ b/aos/events/logging/s3_file_operations.cc
@@ -0,0 +1,20 @@
+#include "aos/events/logging/s3_file_operations.h"
+
+#include "aos/events/logging/s3_fetcher.h"
+
+namespace aos::logger::internal {
+
+S3FileOperations::S3FileOperations(std::string_view url)
+    : object_urls_(ListS3Objects(url)) {}
+
+void S3FileOperations::FindLogs(std::vector<std::string> *files) {
+  // We already have a recursive listing, so just grab all the objects from
+  // there.
+  for (const std::string &object_url : object_urls_) {
+    if (IsValidFilename(object_url)) {
+      files->push_back(object_url);
+    }
+  }
+}
+
+}  // namespace aos::logger::internal
\ No newline at end of file