Improved Filename validation