Wouldn't this be solved by adding the static method get_plugin_path_url($filename) above?