Look for files in serveral paths

The path_to_plugin_file needs to look in all the posible places for the plugins. not only in the default plugin location. @marianoguerra I need this for the new plugin today. If you are available please review this code!