Added support for reading beatup from the file.