Update dynamicFilePaths.php

Set variables based on the location of the file, which can be called when defining document locations