Fixing more little bugs - turns out the IDs in the actual file have spaces and
additional info on the following line, which my program didn't know to cut out.
Now cuts that out.