implemented file polling, added httpPost example