Added load_file, load_all and main