Removed unused code

This code was from used by the old convert.py