add file and device plugin