The basic way would be to right-click the data file in question(.txt), go to "open with" and "chose default program" then click on Browse to point to the application you'd like it to open with (notepad Pro). Make sure the box at the bottom left is ticked. That should do the trick.