removing line number from file link for compatibility