from Tkinter import Tk
from tkFileDialog import askopenfilename

class LoadFile:
    def loadFileUI(self):
        Tk().withdraw() # we don't want a full GUI, so keep the root window from appearing
        filename = askopenfilename() # show an "Open" dialog box and return the path to the selected file
        print(filename)
        return filename
