Excluding tmp directory