deleted files and added automatic folder creation