Raise exception if file not found.