add file validation
add appname support for worker