def list_to_file(orig_list, file_name, file_location):
    """
    Function to export a list to a text file
    Args:
        orig_list: The list you want exported
        file_name: The name of the exported file
        file_location: The location of the file, derive from the os module

    Returns: returns the filename info

    """
    file = __os.path.join(file_location, file_name)

    def add_line_break(list_line):
        """
        Create a line break at the end of a string
        Args:
            list_line: string

        Returns: A string with a line break

        """
        list_line = ('%s\n' % (list_line,))
        return list_line
    write_file = open(file, "a")
    for orig_list_line in orig_list:
        write_file.write(add_line_break(str(orig_list_line)))
    write_file.close()
    return file_name