Added deleting files by using pattern