Some problems in Textfile read, creat