With any file, we'll have two parts:
Mime type: this property will identify type of file, example: image|text|video....
and this mime will can't change
.extension: This is just extension attribute to help Operation System identify file type to read or use