It `file` is not used outside this class, then it should probably be made private.