file recognition more robust and download link active