code: def list_files(self):
          
          output = []
          tmp = {}
  
          files = self.aserver_api.package(self.username, self.notebook)['files']
  
          for f in files:
              if f['basename'] in tmp:
                  tmp[f['basename']].append(f)
              else:
                  tmp[f['basename']] = [f]
  
          for basename, versions in tmp.items():
              try:
                  output.append(max(versions, key=lambda x: int(x['version'])))
              except ValueError:
                  output.append(
                      max(versions, key=lambda x: mktime(parse(x['upload_time']).timetuple()))
                  )
              except:
                  output.append(versions[-1])
  
          return output
docs: List available files in a project (aka notebook).
          :return: list