Refactored parsing AAVSO input file.