add fileimport functionality