<human>:  Write me a Python program to read the first line in a txt file.
<bot>: Here is a Python program to read the first line in a txt file

filename = "test.txt"

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

#Example Output
# This is a test.

#Remember to inspect code for bugs.