read in API key through file