Filing a patent before collaborating with industries?
As Nate notes in his comment, you should talk with your University's Office of Technology Commercialization, Intellectual Property Office, Office of Technology Transfer, Office of Industrial Programs, or equivalent (just to give a few key words to search for). However, you should be able to just talk with a potential industrial collaborator after signing a mutual non-disclosure agreement that includes the restriction not to exploit each others IP disclosed under the agreement for commercial gain without further negotiation. These kinds of NDA are common in work between industry and academia, and they allow for discussion to begin without everything having to be patented ahead of time. Your university's industrial office (as above) ought to be able to help you draft the NDA. Don't do it without the support of your university's attorneys.