Adding the dtd read and parse file method