Some bug fixes
+ Solved problem in that byte buffer is overflowed and break the receiveFile function