Update file.cpp

Create void file::init(char *)