def delete_file(f):
    """Delete the given file

    :param f: the file to delete
    :type f: :class:`JB_File`
    :returns: None
    :rtype: None
    :raises: :class:`OSError`
    """
    fp = f.get_fullpath()
    log.info("Deleting file %s", fp)
    os.remove(fp)
Delete the given file

    :param f: the file to delete
    :type f: :class:`JB_File`
    :returns: None
    :rtype: None
    :raises: :class:`OSError`