Suppose I'm given a set of point $S = \{x_1, \dots, x_m \} \subseteq \mathbb{F}_2^n$, and the following task. Find a set of disjoint affine subspaces of $\mathbb{F}_2^n$, $A_1, \dots, A_k$ satisfying $S = A_1 \cup A_2 \cup \dots \cup A_k $. Additionally, find such a set with minimal $k$.
Obviously one brute approach is to note that any two points of $\mathbb{F}_2^n$ form an affine subspace, so we can write $S = \{x_1, x_2\} \cup \dots \cup \{x_{m-1}, x_m \}$ if m is even (and the same thing with a singleton set at the end if m is odd). This has $k= \text{ceiling}(\frac{m}{2})$.
I'm interested to know whether this is a known problem in finite geometry, and if so some suggestions for references to it or to related problems.
Thanks in advance!