Testing all filesystem functions with relative paths:
1. read_file(path="./basic.txt.tmpltool"):
{{ read_file(path="./basic.txt.tmpltool") | truncate(length=50) }}
2. file_exists(path="./basic.txt.tmpltool"): {{ file_exists(path="./basic.txt.tmpltool") }}
3. file_exists(path="./nonexistent.txt"): {{ file_exists(path="./nonexistent.txt") }}
4. file_size(path="./basic.txt.tmpltool"): {{ file_size(path="./basic.txt.tmpltool") }} bytes
5. glob(pattern="*.tmpltool"):
{% for file in glob(pattern="*.tmpltool") -%}
- {{ file }}
{% endfor %}
All tests completed!