in reply to Substitution in a file

You can do the following:
perl -i.orig -pe 's/total_bytes/""/ig' myfile.txt
To change the file and back up the old one with .orig extension.

Cheers.