changed behavior to not show file selected. cleaned up a bit