Move reading body id files to separate class