Prototyle function to load from DIMACS formated file.