Added automatic flattening of overlapping files when doing numerical unary ops, multiplexed ops, and numerical stats