working ui with file listening