Changes to aquireFile function to infer the AppDef graph rather than requiring it as an argument.