printed score and name to file