trying to work with pluginfile function