#NEWLINE# def check_file( self ) : #NEWLINE# #INDENT# 'Validate this option and check that, if the options is not\n        set through a dependency, all string values represent existing\n        files.\n\n        :raises ValueError: if an expected file is not found\n        ' #NEWLINE# self . validate ( ) #NEWLINE# if ( not self . is_dependency ( ) ) : #NEWLINE# #INDENT# for v in self . _value : #NEWLINE# #INDENT# if ( isinstance ( v , basestring ) and ( not exists ( v ) ) ) : #NEWLINE# #INDENT# raise ValueError ( ( 'File not found: %s' % v ) )