See added test file. Added support for the encoding parameter, which can be passed directly to `pd.read_csv`.