<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delete(self, changelist=0):
 """Marks the file for delete :param changelist: Changelist to add the move to :type changelist: :class:`.Changelist` """

        cmd = ['delete']

        if changelist:
            cmd += ['-c', str(changelist)]

        cmd.append(self.depotFile)
        self._connection.run(cmd)

        self.query()