adding example of using multiple destinations - fixing a bug with figuring out the source from the file extension