Fixed issue with transferring files, and added a folder transfer function