def raw_text(context):
    project=context['object']
    object_type = ContentType.objects.get_for_model(project)
    projectfiles = fileobject.objects.filter(content_type=object_type,object_id=project.id, filetype="text")


    textlist = "" 
    for i in projectfiles:
       textlist = textlist+i.filename.read()
    return textlist