while read -r file; do if [[ ! -e $file ]]; then echo "$file|error" ; fi ; done < input.txt
I’ll usually pipe the output to tee so I can watch what’s going on:
while read -r file; do if [[ ! -e $file ]]; then echo "$file|error" ; fi ; done < input.txt | tee error_report.txt