filtering of java files in resources