Editing a User Subroutine File using ISight

Could anyone describe the best way to edit a subroutine file for Abaqus within the ISight design gateway. I want to modify a variable within a Fortran subroutine with each Abaqus simulation. I have experimented with the SimCode component and using a script with the OS Command component but have found little information on modifying text files for Abaqus use.