Extract data from database and create files in any supported format