old_contents: def lta_to_uvfits():
  	lta_files = glob.glob('*.lta*')
  	#flag_files = glob.glob('*.FLAGS*')
  	for i in range(len(lta_files)):
  		lta_file_name = lta_files[i]
  		uvfits_file_name = lta_file_name +'.UVFITS'
  		spam.convert_lta_to_uvfits( lta_file_name, uvfits_file_name )	
  
new_contents: def lta_to_uvfits():
  	lta_files = glob.glob('*.lta*')
  	#flag_files = glob.glob('*.FLAGS*')
  	for i in range(len(lta_files)):
  		lta_file_name = lta_files[i]
  		uvfits_file_name = lta_file_name +'.UVFITS'
  		spam.convert_lta_to_uvfits( lta_file_name, uvfits_file_name )	
          return lta_files 
  
subject: Return LTA files to use as argument in main thread code