dfs open/close file logging