implemented Unit of work pattern
delete files