Firstly you will never lose files from an IP address change on a local machine.
Secondly, depending on what the hackers are doing, changing the IP address on your local machine may not be enough. You may have to change the IP address of your Router, or even get your ISP to change the IP...