porting FileUnit Plugin to v3