File Agent Lib updates

Remove ununsed code.
Add new variables to config file ( directory )

prepare bFile to be queued to send to server