Based on the error message it seems as if you might be trying to read an invalid file.
Make sure the file really exists in the specified path and verify that you can load it properly (it could be broken due to a failed download).
PS: you can post code snippets by wrapping them into three backticks ```, which makes debugging easier