fixed issue with --file option after refactor