output enhancements
add fileofN
merge