def create_content_dict(file_paths):
    """Returns a dict of (txt) files, where each file contains all text in the file.

    Args:
        file_paths: Output of the method above

    Returns:
        raw_content_dict: dict of files as key. Each file contains one string containing all text in the file. 

    """
    raw_content_dict = {}
    for filePath in file_paths:
        with open(filePath, "r", errors="replace") as ifile:
            file_content = ifile.read()
        raw_content_dict[filePath] = file_content
    return raw_content_dict