      filepaths = [os.path.join(dir, file) for file in os.listdir(dir) if not file.startswith('.')]
      return [item[0] for item in sorted([(path, os.path.getctime(path)) for path in filepaths],
                                                       key=operator.itemgetter(1), reverse=False)]
  def remove_oldest_files(dir, max_files):
      """Remove the oldest files in a directory 'dir', leaving at most 'max_files' remaining.
      We use this to limit the number of resources in the sandbox."""
      [os.remove(path) for path in list_dir_sorted_by_ctime(dir)[max_files:]]
  
  
  class HTMLRenderer(BaseRenderer):
      """Basic renderer which just returns the content without any further serialization."""
 
</s> remove     """Remove the oldest files in a directory 'dir', leaving at most 'max_files' remaining.
    We use this to limit the number of resources in the sandbox."""
 </s> add     """
    Remove the oldest files in a directory 'dir', leaving at most 'max_files' remaining.
    We use this to limit the number of resources in the sandbox.
    """ </s> remove     return [item[0] for item in sorted([(path, os.path.getctime(path)) for path in filepaths],
                                                     key=operator.itemgetter(1), reverse=False)]
 </s> add     return [item[0] for item in sorted( [(path, os.path.getctime(path)) for path in filepaths],
                                        key=operator.itemgetter(1), reverse=False) ]
 </s> remove     """Return a list of files sorted by creation time"""
 </s> add     """
    Return a list of files sorted by creation time
    """ </s> remove     """Basic renderer which just returns the content without any further serialization."""
 </s> add     """
    Basic renderer which just returns the content without any further serialization.
    """ </s> remove class ObjectStoreRoot(Resource):
    """Root of the Object Store API.
    Allows the client to get a complete list of all the stored objects, or to create a new stored object."""
    allowed_methods = anon_allowed_methods = ('GET', 'POST')
 </s> add class ObjectStoreRoot(BaseView):
    """
    Root of the Object Store API.
    Allows the client to get a complete list of all the stored objects, or to create a new stored object.
    """
    """
    Remove the oldest files in a directory 'dir', leaving at most 'max_files' remaining.
    We use this to limit the number of resources in the sandbox.
    """
      filepaths = [os.path.join(dir, file) for file in os.listdir(dir) if not file.startswith('.')]
      return [item[0] for item in sorted([(path, os.path.getctime(path)) for path in filepaths],
                                                       key=operator.itemgetter(1), reverse=False)]
  def remove_oldest_files(dir, max_files):
    """
    Remove the oldest files in a directory 'dir', leaving at most 'max_files' remaining.
    We use this to limit the number of resources in the sandbox.
    """
    """
    Remove the oldest files in a directory 'dir', leaving at most 'max_files' remaining.
    We use this to limit the number of resources in the sandbox.
    """
      [os.remove(path) for path in list_dir_sorted_by_ctime(dir)[max_files:]]
  
  
  class HTMLRenderer(BaseRenderer):
      """Basic renderer which just returns the content without any further serialization."""
keep keep keep keep replace replace keep keep keep keep keep
 Fixing some of the last blocking issues 
examples/pygments_api/views.py