def read_text_file(file_path, encoding='utf-8'):
    """
    Reads a text file from a given path and returns a string with its contents.
    """
    file_content = ''
    with open(file_path, 'r', encoding=encoding) as file_handle:
        file_content = file_handle.read()

    return file_content