Et comme ça ?

#!/bin/bash
while read file
do
pathA=0
pathB=0
pathC=0
pathE=0
pathF=0