-txt2asn-integrated.awk "${1%.docx}.txt" > "${1%.docx}-description-before-field.asn"
-cat "${1%.docx}-description-before-field.asn" | awk '!/^[[:space:]]*--/ && !/^[[:space:]]*$/'| sed -e 's/--.*$//g' > "${1%.docx}-description-before-field.asncheck"
-compare2=$(diff -b -B "${1%.docx}.asncheck" "${1%.docx}-description-before-field.asncheck")
+cd ..
+mkdir before-field
+cd before-field
+txt2asn-integrated.awk "../${1%.docx}.txt" > "${1%.docx}.asn"
+cat "${1%.docx}.asn" | awk '!/^[[:space:]]*--/ && !/^[[:space:]]*$/'| sed -e 's/--.*$//g' > "${1%.docx}.asncheck"
+compare2=$(diff -b -B "../${1%.docx}.asncheck" "${1%.docx}.asncheck")