Program converted from c++ to c
compilation rules ok, some c related errors in src
Program now meets c89 constraints
Fixed segmentation fault in file name buffer