added possibility to create file translation and HTML5 accept attribute