This is awesome!!!   You should make it a script that you can pass a file name to (when you have time)