cleanup
revamped the dm2e2edm tool to work on individual files