Sanitizing plugin file