fix problem with reading and downloading files recursively. use request instead of restler when downloading files