human
Can you show me a Python code to get a text file.
assistant
Here is a Python code to get a text file

import os

def get_text_file(file_name):
    """
    >>> file_name = "text.txt"
    >>> get_text_file(file_name)
    'text.txt'
    """
    return file_name

# Enter the file name
file_name ="purple skateboard"

# Open the file
file_obj = open(file_name, "r")

# Calling the function
file_content = get_text_file(file_obj)

# Print the file content

#Remember to inspect code for bugs.