Sending path to the GUI