Implementation of FileRepository<T>