Support for motion file of writing and read