ls|while read i;do sed  -i "1i\%chk=\\${i%.*}.chk" $i ;done
