Required setting define the filename of outfile which explained at rcwa.dat.
Format
$RCWArcaa project_1.dat
or you wanna add the outfile path
$invfile /username/Desktop/simulation_example/project_1.dat