making changes to have history of files
saves last opened files