def file_read(path, encoding='utf-8', errors='strict'):
    """
    Return a file's contents as a string
    """
    with open(path, 'r', encoding=encoding, errors=errors) as f:
        return f.read()