parameters: (self, file)
docstring: Utility function, returns the output of file(1)
docstring_summary: Utility function, returns the output of file(1)
docstring_tokens: Utility function returns the output of file ( 1 )
function: def RunFileCommand(self, file):
          """Utility function, returns the output of file(1)"""
          try:
              output = os.popen("file " + file).read()
              return output.split('\t')[1];
          except:
              return ""
function_tokens: def RunFileCommand ( self , file ) : try : output = os . popen ( "file " + file ) . read ( ) return output . split ( '\t' ) [ 1 ] except : return ""