importing files to db