add Fatal Error in ReadFile/GetFile and signature modification of wrinting functions