Revert "Fixed issue with filename configparsing"

This reverts commit 74e93045ab203b2a18b4bc57697501424e4c3593.
Fixed issue with filename configparsing