scusami non avevo notato:
sbagli a caricare il testo fai così:
loadVariables("miotesto.txt",post);