add method setSelectedFilePath() in file picker