imfile: remove redundant error mesage