<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _log_file_ind(self,inum):
 """ Information about available profile.data or log.data files. Parameters inum : integer Attempt to get number of inum's profile.data file. inum_max: max number of profile.data or log.data files available """


        self._profiles_index()
        if inum <= 0:
            print("Smallest argument is 1")
            return

        inum_max = len(self.log_ind)
        inum -= 1

        if inum > inum_max:
            print('There are only '+str(inum_max)+' profile file available.')
            log_data_number = -1
            return log_data_number
        else:
            log_data_number=self.log_ind[self.model[inum]]
            print('The '+str(inum+1)+'. profile.data file is '+ \
                  str(log_data_number))
            return log_data_number