learn class and self

py.txt can be used by ReadFile.py to learn how to read file.