Revert "linking without file name"

This reverts commit 52f004e4e3724adae67a1f7c6c74f7031245e32d.