solution for issue #47

Rails seems to use `Hash` as file-class and not 'Rack::Multipart::UploadedFile' ;
 I added new list with supported fileclasses, it simplifies current if-sentence and  adding new file-classes in future.