diff --git a/cflib_groundstation/LogfileHandler.py b/cflib_groundstation/LogfileHandler.py
index c219a7d618f5f0ab590a1c54c7313e2e54e7bc6c..fe61aacd8bb6013b8b0797ba56833b324abb5238 100644
--- a/cflib_groundstation/LogfileHandler.py
+++ b/cflib_groundstation/LogfileHandler.py
@@ -60,7 +60,7 @@ class LogfileHandler:
         self.scf.cf.log.add_config(self.logging_configs[-1])
 
 
-    def refresh_logging_configs() :
+    def refresh_logging_configs(self):
         raise Exception
 
     def load_logging_configs() :
@@ -103,3 +103,29 @@ class LogfileHandler:
         for i in range(0, len(self.logging_configs)):
             self.logging_configs[i].stop()
 
+
+
+    def read_all_active_blocks(self):
+        active_blocks = []
+        logBlockFile = open("/home/bitcraze/Desktop/groundstation/crazyflie_groundstation/loggingBlocks.txt", "r")
+        line = "BEGIN"
+        while line != "":
+            line = logBlockFile.readline()
+            formatLine = line.strip()
+            if len(formatLine) == 0 or formatLine[0] == '#':
+                continue
+            elif formatLine == "START BLOCK":
+                print(line)
+                data = []
+                for i in range(0,6):
+                    newLine = logBlockFile.readline().strip()
+                    if newLine == "" or newLine == "END BLOCK":
+                        raise Exception("loggingBlocks.txt is not formatted correctly")
+                    if i == 0 or i == 2:
+                        data.append(int(newLine)) 
+                    else:
+                        data.append(newLine)
+                if len(data) != 6 or logBlockFile.readline().strip() != "END BLOCK":
+                    raise Exception("loggingBlocks.txt is not formatted correctly")
+        
+
diff --git a/cflib_groundstation/__pycache__/LogfileHandler.cpython-38.pyc b/cflib_groundstation/__pycache__/LogfileHandler.cpython-38.pyc
new file mode 100644
index 0000000000000000000000000000000000000000..fe5163dbb122a99ca69992ad55bdd45ef40d5f66
Binary files /dev/null and b/cflib_groundstation/__pycache__/LogfileHandler.cpython-38.pyc differ
diff --git a/cflib_groundstation/__pycache__/SetpointHandler.cpython-38.pyc b/cflib_groundstation/__pycache__/SetpointHandler.cpython-38.pyc
index 1f7b29d96db05374caf84b36bb27a376d079a6e6..2923b9d30c97be4cba7cb1177265b57ac3ee8400 100644
Binary files a/cflib_groundstation/__pycache__/SetpointHandler.cpython-38.pyc and b/cflib_groundstation/__pycache__/SetpointHandler.cpython-38.pyc differ
diff --git a/cflib_groundstation/__pycache__/crazyflie_connection.cpython-38.pyc b/cflib_groundstation/__pycache__/crazyflie_connection.cpython-38.pyc
index 1b8b9d5c09eb2e1505ecc55d4bab16f0590b7e48..310e8a187db98d84758edcd7b75ebb3c4d07c355 100644
Binary files a/cflib_groundstation/__pycache__/crazyflie_connection.cpython-38.pyc and b/cflib_groundstation/__pycache__/crazyflie_connection.cpython-38.pyc differ
diff --git a/cflib_groundstation/__pycache__/groundstation_socket.cpython-38.pyc b/cflib_groundstation/__pycache__/groundstation_socket.cpython-38.pyc
index 0d31a41c9743e78bafe8b694fc9ba01ff72d0188..a717ab09e870c2f4a48c545b18aa1c11286996ce 100644
Binary files a/cflib_groundstation/__pycache__/groundstation_socket.cpython-38.pyc and b/cflib_groundstation/__pycache__/groundstation_socket.cpython-38.pyc differ
diff --git a/cflib_groundstation/__pycache__/uCartCommander.cpython-38.pyc b/cflib_groundstation/__pycache__/uCartCommander.cpython-38.pyc
index 79e2882d7d232439f10b23a0137ea7ba9a317b5d..80519f2ef307568ffdfa9785fe9f2aa52894b146 100644
Binary files a/cflib_groundstation/__pycache__/uCartCommander.cpython-38.pyc and b/cflib_groundstation/__pycache__/uCartCommander.cpython-38.pyc differ