Describe function here.
def LoadTextDocument(filename): if not os.path.isfile(filename): return [] file=open(filename,"rt") content=file.read() file.close() return content