Help! Files transferred incorrectly

I have a .cgi file that was transferred in binary mode. Does anyone know of a program that can convert it back to an ASCII file?

Just upload again?!

I wish I could. The old web guy didn’t transfer the files correctly, and all I have to work with are the screwed up files that are on the server.