file function rename, added a test macro, added more tests, and added file locking
Added doxygen
switched to fcntl, had to remove tests due to feature incompatibility new tests with multiple processies