golang check if file is readable