Clear lastFileName on end