added more filename validation and styling