added deleting of files