Solid Principles, Python.
defined as a class variable at the top of the class. Notice how the code for the two responsibilities is now scattered all over the class. There is a new subtle problem. The class variable with the file name is only used by the storage part. User of this class start reading the code from the top