updates global scala to read text file