Update loopThroughFiles.sh