Fix file stripping if user specified file:
Merge pull request #4421 from juztas/master

Fix file stripping if user specified file: