added a check for the file openning
Merge branch 'master' of https://github.com/nobe4/SchedulingGraph