pass Repo through to File, parse content and metadata