Writes pot data to a file with simple timestamp and some other crap too