def rotate(cam_file, angle):
    """ Rotate a Cam file a specified amount about the origin.

    Parameters
    ----------
    cam_file : :class:`gerber.cam.CamFile` subclass
        Gerber or Excellon file to rotate

    angle : float
        Angle to rotate the file in degrees.

    Returns
    -------
    cam_file : :class:`gerber.cam.CamFile` subclass
        An rotated deep copy of the source file.
    """
    pass
