Added PNG Support to attachFilesByUrlsToContent