Changed to read trajectory file async.