prepared reading data files and basic signal integration