files=`ls *overlap.asm.txt`

for i in $files
do
    awk -v newf=$i 'BEGIN{oldf=newf; gsub(/overlap.asm.txt/,"overlap.txt",newf); cmd="mv "oldf" "newf; system(cmd)}'
done
