Try to create credentials file only once