rename file function
ignore session file