Fix file removal script