<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def find_files_cmd(data_path, minutes, start_time, end_time):
 """Find the log files depending on their modification time. :param data_path: the path to the Kafka data directory :type data_path: str :param minutes: check the files modified in the last N minutes :type minutes: int :param start_time: check the files modified after start_time :type start_time: str :param end_time: check the files modified before end_time :type end_time: str :returns: the find command :rtype: str """

    if minutes:
        return FIND_MINUTES_COMMAND.format(
            data_path=data_path,
            minutes=minutes,
        )
    if start_time:
        if end_time:
            return FIND_RANGE_COMMAND.format(
                data_path=data_path,
                start_time=start_time,
                end_time=end_time,
            )
        else:
            return FIND_START_COMMAND.format(
                data_path=data_path,
                start_time=start_time,
            )