Properly search for plugin file by name when loading plugin