not functional READ yet
added threadFunctions.cpp; xargs filepath input works