More testing and bug fixing. Add 'load_file' and 'load_all_file'.