A brief introduction to reading and writing files with Python