FileRepository: Moved to own file and added FileBoxId to CreateNewFile().