bugfix, if file was absent and type is now tested on openwrt