Removed cat

Piping cat to sed is an extra step.  Sed can handle file arguments.