It worked after I deleted the file, closed and reopened the piping input!
Thanks for the help.