changed odom plot to open as many files as required