The call actually comes from themes compat
like you can read here in source.
So I’d imagine that you simply copy pasted the complete contents and therefore just added the _deprecated_file()
call as well. 😀
Lesson to learn from this: Never blindly copy paste stuff without understanding what it does and why it does it.