file takes c string