added construction from a file and fixed minAugFlow