porting over to file shark rep