Merge CSV File Import widget functionality into File widget