How to open a file in C