If apps had more than one file this wouldn't work. But since it always has only one I think this is fine.