Small fix to file state.