It seems to be there because credentials() is a method reading and parsing the file. This would be done 3 times.