remove file - core