Why don't you try another way?I will give you just an idea to try,since i've never done something similar.
As far as i know,if somebody wants to create a model for a component,under Cadence's Environment,he must write a .scs file with the model description and parameters in this and then include it
from the top menu of ADE L (Tools-->Model Libraries).
So,maybe you should just change the extension of the above text file from .txt to .scs and follow the flow i gave you above,if and only if the code in your file is compatible with .scs format needed by spectre.
Take also a look under Cadence's installation doc folders on your hard disk to see if there is a documentation about this procedure.