Updated the FileInter file handler close and added a privilaged port check