Added xml dtd verification against dat file
Moved filename operations to file.py
Fixed posible _romdata file overwrites
Moved validate xml to file.py
Added timestamp to filenames if needed

Minor:
- Updated TODO.