changed the way that formats are converted so that the new file is kept
added some debugging statements
using Rails.logger
fixed bug in logger
added another debug statement
trying to find convert issue
another attempt
using send to call private method
saving converted files in the same location as the originally cached file