Connect the file to function.php:
require_once get_stylesheet_directory() . '/assets/folder/file.php';
Then in the Admin, when you call the function from that file, get the error message:
Fatal error: Uncaught Error: Call to a member function my_function() on null...
I mean, he doesn't see the functions from that file. Why?