Reorganized files.  have to pause system and scan in number (in readFile) to avoid segfault??