Distinguish load plugin from preset or not

I for example want to load wave file into my plugin.
How can I distinguish if the plugin was loaded from preset of not (default) - to not load default wave file then wave file referenced in my preset file.
I want to know to load my default wave or wave from preset (if loaded from preset).