Thanks for the reply.
I have tried with "reactiveFileReader" function but getting below error:
Error in $: object of type 'closure' is not subsettable
Below is part of a script where I am getting an error.
# load source data get_ecap_data <- reactiveFileReader(1000, session, "FileName.Rds", readRDS)