update name validator and filecompressor