file removal API