testing python read/write files