InFileRepository, Test and some other minor changes. RIP XMLRepository