Instead of giving empty string on error, give the whole file