As there are no backslashes at the end of any line, each line is a separate command.
The two commands of the form "> filename" will _overwrite_ the file on the right side of the ">" sign with whatever is output by the left side, i.e. nothing at all. In other words, the commands will truncate both files to zero length.
To append something to the end of file, you would need ">>".
MK
MK