Revert "add file and device plugin"

This reverts commit 8ddb52008cc86334194615f9a95ccb06642380be.