Working files from Python the Hard Way tutorial