Add option to load the entire file into memory