add support for naming only by file name (without dir)