fix get from server: problem with big file
cleanup the code
fix problem with big file