How to write the code to let the menu show a list of file name which had been opened.(history which file had openned)
in addition, if click the name in that list.the file will open again.