Read out the sample rate when loading files