basic opening file & load image