Use Traits for File, Picture and CsvIn; fixes #851 #848