Make recursive handleFile