human
Write me a Python function to load a text file.
assistant
Here is a Python function to load a text file

import os

def load_text_file(filename):
    """
    Loads a text file into a list of strings
    :param filename: the name of the file to load
    :return: a list of strings
    """
    with open(filename, 'r') as f:
        return f.readlines()

# Enter the filename
filename = "test.txt"

# Calling the function
lines = load_text_file(filename)

# Printing the list
print(lines)

#Example Output
# []

#Remember to inspect code for bugs.