Fix view file wrong file format