def METHOD_NAME(file_path):
    """Reads all the data from the given text file and returns them as a
    string.
    """
    with open(file_path, 'r', encoding='utf-8', errors='replace') as f:
        return f.read()