The file function is used to name inage file from a variable, or using a constant string for filename which have special characters in them.