file name match

only printf are in main for testing none inside functions.  Unless and
error is found nothing should be final version except for comments
maybe.