<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_from_taskfile(self, taskfile):
 """Create a new TaskFileInfo and return it for the given taskfile :param taskfile: the taskfile to represent :type taskfile: :class:`jukeboxcore.djadapter.models.TaskFile` :returns: a taskfileinfo :rtype: :class:`TaskFileInfo` :raises: None """

        return TaskFileInfo(task=taskfile.task, version=taskfile.version, releasetype=taskfile.releasetype,
                            descriptor=taskfile.descriptor, typ=taskfile.typ)