add fileMark to remember file open status.