def rm(session, irods_path):
    """
        Remove file from an iRODS server

        Args:
            session (iRODS.session.iRODSSession): iRODS session
            irods_path (String): Path of file on the iRODS server to remove
    """
    if session.data_objects.exists(irods_path):
        obj = session.data_objects.get(irods_path)
        obj.unlink(force=True)
    elif session.collections.exists(irods_path):
        raise NotImplementedError("We don't do collections yet")
    else:
        raise FileNotFoundError(irods_path + ' Does not exist')
