open file with dialog box