fname is not dynamically allocated