Added download file method.