Instead of having to do 2 things at once (making a script that parses the file and another one that saves the data into another format for importing it into the database), I'd go for trying to parse the .D01 file and inserting its contents directly into the database. How you do that, it's your job. Nobody knows what format it's in. At least I don't.
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
Thanks for responding xenon but your post isn't very helpful. What I asked is what in the hell is a .D01 file and how do you get data out of it? It can't be parsed as easily as a csv, xml, tab or anything else I've ever encountered because it is some crazy format with millions of "data" characters.
I believe the issue he was trying to get across is what it is and how it's going to be parsed is entirely your problem, if the issue wasn't as proprietary I'm sure he would've lent a helping hand. Not offense intended but why did you accept the job if you didn't know how to handle the file format in the first place?