check for working directory file before blindly sed-ing within sw
Merge branch 'hotfix/sw-without-file'