some corrections added in nicefileinput to support semantic ui