Input support for file and color [fixes #208]