Add function of loading and saving bitmaps