input file for chess.