from gdcmPython import *
+import sys
### Get filename from command line or default it
try:
### Build the header element list
toRead = gdcmHeader(FileName)
+if not toRead.IsReadable():
+ print "The ", FileName, " file is not "
+ print " readable with gdcm. Sorry."
+ sys.exit()
print "##############################################################"
print "### Display all the elements and their respective values"