from importlib.resources import contents

# with open('system_config.txt') as file_object:
#     contents = file_object.read()
#     print(contents)

#open file function hard code file name


class Filer():
    # def __init__(self) -> None:
    #     pass


    def openFile(self):
        with open('system_config.txt') as file_object:
            contents = file_object.read()
            print(contents)

    #open file function with argument
    def openFileArg(self,file):
        with open(file) as file_object:
            contents = file_object.read()
            print(contents)

myFiler = Filer()
myFiler.openFileArg('people.txt')