Can I get some explanation here of what this does/returns? It's a bit opaque...modifyFile does what? For what purpose?