Just a hint if you want to support arbitrary path:
`var appInGaia = getFile.apply(null, [gaiadir].concat("A/B/C".split("/")))`