Added the ability to remember file name.