added cleaning of files