Added missing argument for fopen