updeata LoadFile() and small remarks