Did you try get_template_directory() https://codex.wordpress.org/Function_Reference/get_template_directory
When you get the error there should also be a report of exactly what the path to the file is that it’s looking for. Make sure that this matches up with what you expect it do be.