Citadel Interview Question

File parsing coding problem with multiple files