diff --git a/(p,t)_sparsification/io.h b/(p,t)_sparsification/io.h
new file mode 100644
index 0000000000000000000000000000000000000000..6e901a5c3cdae018c2c5f43aaa88abcd00918b09
--- /dev/null
+++ b/(p,t)_sparsification/io.h
@@ -0,0 +1,19 @@
+//
+// Created by Kiouche on 1/20/2020.
+//
+
+#ifndef P_K_COMPRESSION_IO_H
+#define P_K_COMPRESSION_IO_H
+#include "graph.h"
+#include <boost/program_options.hpp>
+
+namespace po = boost::program_options;
+
+
+namespace  std {
+    tuple<graph,unordered_map<edge , double>>  read_graph_from_file(string filename,bool directed);
+    void graph_to_file (po::variables_map &var,double runtime, double c_rate,vector<edge> &edges);
+
+}
+
+#endif //P_K_COMPRESSION_IO_H