Added GetContentType to FileHelper for image file determination.