+#include <iostream>
+#include <stdio.h> // for sscanf
+
+int main(int argc, char *argv[])
+{
+ std::string fileName;
+
+ GDCM_NAME_SPACE::FileHelper *h;
+ GDCM_NAME_SPACE::File *f = GDCM_NAME_SPACE::File::New();
+
+
+ if(argc > 1 )
+ f->SetFileName(argv[1]);
+ else
+ {
+ fileName = GDCM_DATA_ROOT;
+ fileName += "/test.acr";
+ f->SetFileName(fileName);