added platform based filepath validation.