remove OpenImageFile. a generic open file function would be better to maintain in a separate file.