testing getting chunk x,z and writing to file