from pathlib import Path


def read_html_file(file_path):
    """Reads the contents of an HTML file."""
    html_file = Path(file_path)
    if html_file.exists() and html_file.is_file():
        with html_file.open() as temp_file:
            contents = temp_file.read()
            return contents
    return None