Extract read file method and create FileReader class utils