You can declare ```file_info``` in ```if (file_info_p == NULL)``` scope