remove usage of fopen/fgets from portal code
remove usage of fopen/fgets from portal code

csail-csg/connectal,hanw/connectal,8l/connectal,chenm001/connectal,8l/connectal,chenm001/connectal,hanw/connectal,csail-csg/connectal,csail-csg/connectal,hanw/connectal,8l/connectal,cambridgehackers/connectal,8l/connectal,chenm001/connectal,cambridgehackers/connectal,chenm001/connectal,hanw/connectal,cambridgehackers/connectal,csail-csg/connectal,cambridgehackers/connectal,chenm001/connectal,cambridgehackers/connectal,8l/connectal,hanw/connectal,csail-csg/connectal