Removing fclose