check that folder actually contains any files