getnetwork.m now focus on read file.
minor change to getnetwork.m