don't create all directories when just checking files