@Override protected void doDelete() throws SQLException { final Files theFile = getFile(); if (theFile != null) { theFile.scheduleDeletion(); } super.doDelete(); }