textFiles fixed