added support for cases when file info attrubutes are not available