Worksheet: Reading and writing files in Python