check OS
better expand/collapse files. store open/close state. add inline prompt to results.