Removed fopen() and fclose()