def delete_flogger_file(folder, filename, days):
            #    
            #-----------------------------------------------------------------
            # This function deletes the files whose name contain filename in folder folder
            # if they were created up to and including the number of days in the past 
            # specified by the days parameter.
            # If days is zero then no deletions are performed
            #-----------------------------------------------------------------
            #
            print "folder: ", folder
            print "filename: ", filename
            if days <= 0:
                print "Don't delete old files, return"
                return