File input and output (fopen, fclose, fprintf, fscanf)