Add delete functionality to FileManager and DatabaseManager.