<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def texts(self, layer, sep=' '):
 """Retrieve texts for given layer. Parameters sep: str Separator for multilayer elements (default: ' '). Returns ------- list of str List of strings that make up given layer. """

        return self.texts_from_spans(self.spans(layer), sep)