How to crate a directory and use a file in C++