load file with selection