FileRepository improved
CS