makeGetValidMoves creates a file to be included (instead evaling a string)