CSPACE-6273: Add or clarify many comments. Add an additional file test earlier in the script.