Loading data with files to the database utility method