Exposure of files on unsecured wireless no excuse to search, judge rules