Fix ColorHistogram to work with Open File

Closes #608