openfile reload function
openfile reload function