Fix #8

Throwing a custom error and displaying the keyname as well as the
filename