Check file reference for download file command