Added options for threading, util/io added with file size function