refactoring
added test case
show filename for file-fragment in error-case
to big error message for file-fragment