Updated file conversation to work with spire