converting files to avi format