TRIGGER gallery_fremove                                                        /* PL/SQL */
    BEFORE DELETE ON gallery
    FOR EACH ROW
DECLARE
    i NUMBER;
BEGIN
    DBMS_JOB.SUBMIT (i, 'UTL_FILE.FREMOVE(''' ||
                        :old.fdir || ''', ''' || 
                        :old.fname || ''');'
                    );
END;
