statExists passes files even if they do not exists. Added exists and notExists for filtering files based on their existence