Using the File Transport to write to a file