shell program to redirect the open of any type of file given a configuration