<!-- Creating the input item and setting the file attribute -->
<arc:set attr="input.file" value="[FilePath]" />
<!-- Initializing the item to hold the file data minus the first line -->
<arc:set attr="restof.data" value="" />
<!-- Calling the fileReadLine operation and passing in the input item -->
<arc:call op="fileReadLine" in="input" out="result" >
<!-- Once the operation gets to the first line in the file, perform a replace -->
<arc:if exp="[result.file:line] == 1">
<arc:set attr="first.line" value="[result.file:data | replace('Owen','Liu')]" />
<arc:else>
<!-- Setting the data for the output file to be the concatenation of the modified first line and the rest of the file data -->
<arc:set attr="output.data" value="[first.line][restof.data]\n[result.file:data]" />
</arc:else>
</arc:if>
</arc:call>
<arc:set attr="output.filepath" value="[FilePath]" />
<arc:push item="output" />