Added multithreading, binary files will now send, and a security fix for using a path with '../'