def file_to_list(file_name, file_location):
file = __os.path.join(file_location, file_name)<EOL>read_file = open(file, "<STR_LIT:r>")<EOL>temp_list = read_file.read().splitlines()<EOL>read_file.close()<EOL>return temp_list<EOL>
Function to import a text file to a list
Args:
    file_name: The name of file to be import
    file_location: The location of the file, derive from the os module

Returns: returns a list