Added rstrip to sample list reader