adding getName() to FileInterface, and helper functions with documentation for setting the image mode