error when trying to open a nonexistent file