Python 2: Lesson 4: File Handling: implemented stub methods