File compression, version discovery

Added file compression function
Added ability to check version reported by NN web UI against -r
parameter