Added InFileRepository, and tests for it