FilenameFilter and policy caching issue fixed