Add socketpipe and fileprune