NSString *imagePath = [homeDirectoryPath stringByAppendingString:@"/graph.png"];
NSLog(@"Image: %@", imagePath);
if (![[NSFileManager defaultManager] fileExistsAtPath:imagePath isDirectory:NULL])
{
UIImageView * myImageView = [[UIImage alloc] initWithContentsOfFile: imagePath];
//[[NSFileManager defaultManager] createDirectoryAtPath:imagePath attributes:nil];
[self.view addSubview:myImageView];
[myImageView release];
}