fixed checking for files in a jar