Added loadImageFromFile Method for SnapshortAgent