Changed most/all of FS to use ResultCode