Added ability to get remote file size.