Added a dubug option to getFeed to write to /tmp