Changed no-arg mode to take configuration rather than file name.