I’m not sure what exactly your setup is or where this file is but ACF saves its values as post meta. So you could simply use WP’s get_post_meta() if ACF isn’t available.
For Example:
get_post_meta( get_the_ID(), 'field_name', true );
You can also have a look at this article, it talks about using get_post_meta vs ACF functions.