changed getKey() method to grab credentials.csv using relative path of the directory its contained in