src: added adapater and fiel for file dialog