Moved NL to optparam rule.
Added some file tests.
Added file open/close unit tests.