readFile return int to indicate success