Add README, reverse function signature.
diff --git a/testing/cper-test.c b/testing/cper-test.c
index 6f6534d..99a85c1 100644
--- a/testing/cper-test.c
+++ b/testing/cper-test.c
@@ -3,6 +3,16 @@
 #include "json.h"
 
 int main(int argc, char* argv[]) {
-    json_object* ir = cper_to_ir(argv[1]);
+
+    //Get a handle for the log file.
+    FILE* cper_file = fopen(argv[1], "r");
+    if (cper_file == NULL) {
+        printf("Could not open CPER record, file handle returned null.");
+        return -1;
+    }
+
+    json_object* ir = cper_to_ir(cper_file);
+    fclose(cper_file);
+
     printf("\n%s\n", json_object_to_json_string(ir));
 }
\ No newline at end of file