fileObjectExample Sample python code to read/write text to files and writing binary data files (jpeg binary data used in this example)