add some methods about how to create file, write content to file and read file content