Intro to using file objects in python