Remove only your own Stage files

On the MatrixOne server, create an empty /tmp/mo-cookbook-stage-files directory. Save two experiment files and remove only the .txt file. Use a dedicated Stage path so the removal cannot match unrelated data.

CREATE STAGE cookbook_stage_files URL='file:///tmp/mo-cookbook-stage-files/';
SELECT SAVE_FILE(CAST('stage://cookbook_stage_files/discard.txt' AS DATALINK),'discard');
SELECT SAVE_FILE(CAST('stage://cookbook_stage_files/keep.log' AS DATALINK),'keep');
REMOVE FILES FROM STAGE 'stage://cookbook_stage_files/discard.txt';
SELECT LOAD_FILE(CAST('stage://cookbook_stage_files/keep.log' AS DATALINK)) AS retained;
DROP STAGE cookbook_stage_files;

load_file should return keep for the retained file. Verify on the server that discard.txt is gone and keep.log remains. DROP STAGE does not necessarily delete underlying files; inspect the directory before deleting it manually. See the v4.2.4 source test.