Override theme file using plugin


My theme has an override for /wp-content/themes/THEMENAME/woocommerce/loop/loop-start.php.
I want to override this file using a plugin. I understand it can be done using a child theme, but I want to use a plugin (because I have many other modifications bundled inside 1 plugin).

I found some other simular questions on stack exchange getting to this code, but it doesn’t work:

add_filter( 'theme_file_path', 'override_woocommerce_loop_start');

function override_woocommerce_loop_start( $path, $file = '' ) {
    if( 'woocommerce/loop/loop-start.php' === $file ) {
        // change path here as required
        return plugin_dir_path( __FILE__ ) . 'includes/woocommerce/loop/loop-start.php';
    }
    return $path;
}

Any hints where I am wrong? Many thanks! 🙂