1. Parameters can be used externally: variables in the loop can be used outside the loop
while read line do echo $line done < $filepath
2. The parameters in the loop body cannot be used externally: the variables in the loop cannot be accessed outside the loop
cat $filepath| while read line do echo $line done