implemented multiple file removal method