Close file handles, add validation, add wireless options, re-work interfaces parser #12216 WIP