Reading file moved to dedicated class