Fix reading information of file issue