file open and string length is changed