added shuffle and mmap/cstdio options