adding redirect to devnull with a file