changed file_field to file_field_tag in form and fixed controller