modified approach, can't handle .tx
Merge branch 'master' of https://github.com/KoffKoff/LexGen