Old script to reformat opticall files to tped