get input that might be an RDS file
getValueOrRds(input)
input
some user input
if input is an RDS file, read it - otherwise return input