It seems that accessing file_info through a pointer outside of the scope results in undefined behavior. See http://stackoverflow.com/questions/2759371/in-c-do-braces-act-as-a-stack-frame
I would leave it as it is just to be sure.