refactored link reading to be able to provide link reads for different link formats