working yomu
changed str to txt