fixing file open error due to uninitgialized memory.