Revert "replacing symlinked file" wrong branch

This reverts commit 11e9ac65bc058a60295dc8a90e44bf96c89526da.