Incorporating encoding options for files