'File representation'

@staticmethod
def vol_award_file_represent(file):

    if file:
        try:
            filename = current.db.vol_volunteer_award.file.retrieve(file)[0]
        except IOError:
            return current.T('File    not    found')
        else:
            return A(filename, _href=URL(c='default', f='download', args=[file]))
    else:
        return current.messages['NONE']
