Use common library to read file content.