Fix for fileExtend