I did both of them, I created the file with printf and pipe instead of echo and pipe and I updated the client