Include content of file into plugin (ob_start();;include;ob_get_clean()) without

When including files you don’t want the URL, but the filesystem path instead. So…

include(dirname(__FILE__) . "/path/to/myfile.php");

Remember to put the first forward slash in /path/to/myfile.php, since dirname doesn’t include the trailing slash.