Still trying; directly refering to fd's, remembering to fclose