 
 	args.file_path = (char *)("/tmp/Performance_2000Q1.txt");
 
-	args.delimiter 		= '|';
-    args.lineterminator = '\n';
-    args.delim_whitespace = 0;
-    args.skipinitialspace = 0;
-    args.skiprows 		= 0;
-    args.skipfooter 	= 0;
-    args.dayfirst 		= 0;
+	if (  checkFile(args.file_path))
+	{
+		args.delimiter 		= '|';
+		args.lineterminator = '\n';
+		args.delim_whitespace = 0;
+		args.skipinitialspace = 0;
+		args.skiprows 		= 0;
+		args.skipfooter 	= 0;
+		args.dayfirst 		= 0;
 
-	gdf_error error = read_csv(&args);
+		error = read_csv(&args);
+	}
 
 	EXPECT_TRUE( error == GDF_SUCCESS );
 }
 
+
+

#include <cstdlib>
#include <iostream>
#include <vector>

#include <thrust/device_vector.h>


  }
};
 
bool checkFile(const char *fpath) {
	struct stat     st;

	if (stat(fpath, &st)) {
		return 0;
	}
	return 1;
}

TEST(gdf_csv_test, CsvSimple)
{
	gdf_error error = GDF_SUCCESS;

	csv_read_arg	args;

    args.num_cols = 10;
