create new ilm file with the extracted names

needs some clean up but it works for right now