solved request file function bugs: when file hash is very big