added files removal functionality