Returns reading file

def read_file(self, registry):
        """Returns reading file
        """
        with open(registry, "r") as file_txt:
            read_file = file_txt.read()
            file_txt.close()
            return read_file