Update file mode test for multi platform
Update file mode test for multi platform

[#105490454]

hyenaspots/cli,markstgodard/cli,cf-routing/cli,evanfarrar/cli,evanfarrar/cli,cf-routing/cli,evanfarrar/cli,markstgodard/cli,mcintyred/cli,hyenaspots/cli,hyenaspots/cli,fujitsu-cf/cli,mcintyred/cli,simonleung8/cli,fujitsu-cf/cli,fujitsu-cf/cli,mcintyred/cli,cf-routing/cli,markstgodard/cli,simonleung8/cli,hyenaspots/cli,cf-routing/cli,simonleung8/cli,markstgodard/cli,evanfarrar/cli,mcintyred/cli