Added a nice rhread function and iteration through sequence files