Deleted fopen() and fclose() functions