Revert "remove uncessary File.join call"

This reverts commit 82c6ae8eeea89115056267725b7c2238ec4e05fe.
remove useless File.join