Rewrite file_name validator. Refactored code.
Merge branch 'master' of https://github.com/SavrukSergiy/dreamhost