Get field machine name inside HOOK_preprocess_file_link()?
You need to pass the field name to the file link through hook_preprocess_field()
A similar approach is used in Themable Forms module.
Check its module file.