Raise an exception when a file cannot be found