first version of compre files program