File download controller