Cleaned up filename validation code
Cleaned up filename validation code

kivy/plyer,kivy/plyer,kived/plyer,KeyWeeUsr/plyer,kived/plyer,johnbolia/plyer,KeyWeeUsr/plyer,johnbolia/plyer,KeyWeeUsr/plyer,kivy/plyer