* fixed header inclusion
* renamed global variable "netFile" to "currentInputFile"