Updated createServer script to write a data file to the local filesystem