import codecs


def fetch_file(parsed_url, config):  # pylint: disable=unused-argument
    """
    Pull files from the local file system.
    """
    with codecs.open(parsed_url.path, 'r', encoding='utf-8') as _file:
        contents = ''.join(_file.readlines())

    return contents