api: read a plugin from file.
api: using inspect instead read plugin file.