changed nice file input to affect on classed elements