Unit test for new filehandling code
Fixed syntax errors caught by unit test
Export all public methods
Fix errors in basic test for file existence
Added a small data file for testing
Extended test to read first line of file
Fixed syntax errors caught by unit test