If an empty string is returned by the filedialog it does nothing