def basic_check_run_complete_f(f):
 filepaths = [l.strip() for l in f]
 for fp in filepaths:
  if (not exists(fp)):
   return False
 return True

def basic_check_run_complete_f ( f ) : filepaths = [ l . strip ( ) for l in f ] for fp in filepaths : if ( not exists ( fp ) ) : return False return True
return true if all filepaths exist f: file containing list of filepaths example f: f1 .