public static void main(String[] args) {
		
		String dicomDirectoryFileName = "/Users/Saravanan/PixelMedTutorial/compsamples_refanddir/DICOMDIR";
		try {
		    AttributeList list = new AttributeList();
    		list.read(new DicomInputStream(new File(dicomDirectoryFileName)));
    		DicomDirectory dicomDirectory = new DicomDirectory(list);
    		System.out.println(dicomDirectory.toString());
		} catch (Exception e) {
			e.printStackTrace();
		}
		
	}