Importing file to database