using national file and handling edge case for rook