-find ###########START_TEXT###########
-copy everything before it including it into a string
-make a string with the lines you want in the middle
-find ###########END_TEXT############
-copy everything after it including it into a string
-create a new string and concatenate the first . second . third together
-rewrite file with the new string
thats a way to do it....