human
loading text file into using load function.
assistant
Here is a Python code for loading text files into loading loader

import os

def load_text_file(filename):
    """Load text file into using load function."""
    with open(filename, 'r') as f:
        return f.read()

# Enter the filename
filename = "test.txt"

# Calling the function
print((load_text_file(filename)))

#Example Output
# This is a test

#Remember to inspect code for bugs.