Trying to remove files listed in file with AppleScript with do shell script call
You need to close the for loop:

do shell script ("for i in \`cat /tmp/remove_files\`; do rm -rf $i") with administrator privileges


should be:

do shell script ("for i in \`cat /tmp/remove_files\`; do rm -rf $i; done") with administrator privileges