added dir button to select files