Updating the file type.