Unknown error with a multiple file program