updated logic with txt-files