Finished the simple implementation of some file tracking.
TODO: add explicit checks for the file directories (using recursive descent on the file atoms for the path).

Simple checking works and test framework has a couple of unit tests.

Use 'make test' or 'make testval' to test in Valgrind.